package com.hoapital.outpbillwork.module.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoapital.outpbillwork.module.entity.OutpOrderDesc;
import com.hospital.api.RemoteBillService;
import com.hospital.common.core.module.controller.vo.Receive;
import com.hospital.common.core.module.controller.vo.RefundBillVo;
import com.hospital.common.core.result.Tip;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * ¿ªµ¥Ö÷¼ÇÂ¼ 服务类
 * </p>
 *
 * @author lvyao
 * @since 2021-03-01
 */
public interface OutpOrderDescService extends IService<OutpOrderDesc> {
    int getDataOrder(String visitDate, String visitNo);

    boolean saveAll(Receive receive) throws ParseException;

    List<Object> getList(QueryWrapper queryWrapper, String billNo, Class objectClass);

    OutpOrderDesc getOrderTempDate(String substring, String substring1);

    Tip refundBill(RefundBillVo refundBillVo, RemoteBillService remoteBillService);
}
